﻿Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim prg As New Negocio.ProcesamientoFactura

        If (prg.validacion(MaskedTextBox1.Text) = True) Then
            MessageBox.Show("ingrese valores")
        Else
            MessageBox.Show(prg.total_venta(Val(MaskedTextBox1.Text)))
        End If



    End Sub
End Class
